
package com.scs.application.modules.settlement.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.core.export.ExportParamDto;
import com.scs.application.core.model.CommonResult;
import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.settlement.dto.DeptOprtUseDTO;
import com.scs.application.modules.settlement.entity.DeptOprtUse;
import com.scs.application.modules.settlement.request.DeptOprtUseQueryRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
* 病人消耗主单 service 接口
*
*/
public interface DeptOprtUseService extends IBaseService<DeptOprtUse> {

    List<DeptOprtUse> list(DeptOprtUseQueryRequest request);


    IPage<DeptOprtUse> page(DeptOprtUseQueryRequest request);

    CommonResult receiveDeptOprtUse(List<DeptOprtUseDTO> deptOprtUseDTOs);

    /**
     *  接收院方接口病人消耗单信息
     * @param deptOprtUseDTOS
     */
    void batchSaveForDTO(List<DeptOprtUseDTO> deptOprtUseDTOS);

    String exportFullDataByMatrName(QueryWrapper<DeptOprtUse> queryWrapper, ExportParamDto exportParams, Map<String, Object> userParam, HttpServletRequest request);
}
